package com.zxstudio.bulls.trade.oauth.startup;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.io.support.PropertySourceFactory;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.zxstudio"})
@EntityScan(basePackages = {"com.zxstudio"})
@EnableJpaRepositories(basePackages = {"com.zxstudio"})
@EnableCaching
public class TradeAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(TradeAuthApplication.class,args);
    }
}
